import UserController from '@/api/UserController'
import Router from 'koa-router'

const router = new Router()
router.prefix('/user')
//签到
router.get('/fav', UserController.userSign)
//更新基本信息
router.post('/basic', UserController.updateUserInfo)

// 修改密码
router.post('/updatePass', UserController.updatePass)
export default router